import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import directive from './directive'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

//登录拦截器
import './router/loginInterceptor'

//自定义vue指令，用于判断用户有无操作系统权限
Vue.use(directive)

Vue.config.productionTip = false

Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
